import requests

# GET请求
res = requests.get('http://127.0.0.1:5000/request/?name=lisi&name=zhangsan&age=20',
                   cookies={'name': 'lll'})
print(res.text)

# POST请求
# res = requests.post('http://127.0.0.1:5000/request',data={'name':'lucy','age':20})
# print(res.text)